package io.renren.modules.sq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sq.entity.SqSystemEntity;

import java.util.List;
import java.util.Map;

/**
 * 系统表
 *
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2022-05-14 19:29:39
 */
public interface SqSystemService extends IService<SqSystemEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Page<SqSystemEntity> getSysList(Map<String, Object> params);

    List<SqSystemEntity> getUserSystemListByUserid(Long userId);

    List<SqSystemEntity> listbyuserid(String userId,int roleId);

    List<SqSystemEntity> getSystemList();

    List<SqSystemEntity> selectListByRoleid(Long roleId);

    List<SqSystemEntity> listbyroleid(int roleId);
}

